<?php 
if(file_exists('../config_.php'))
  {
    header('Location: ../');
  }
 
if(isset($_POST['langue']))
  {
    if(in_array($_POST['langue'], array('fr', 'en')))
      {
	session_start();
	$_SESSION['install'] = true;
	$_SESSION['langue']  = $_POST['langue'];
	header('Location: step-1.php');
      }
  }

include('top.php');
?>
<h1>Welcome to phpLister2.0's install shield</h1>
<blockquote class="info">
<form action="index.php" method="post">
<div>
<label for="choixL">
  Please choose your language / Choisissez votre langue : 
</label>
  <select id="choixL" name="langue">
    <option value="fr">Francais</option>
    <option value="en">English</option>
  </select>
<input type="submit" class="bouton" value="ok" />
</div>
</form>
</blockquote>
<?php 
include('bottom.php'); 
?>
